using System;

using Cookbook.Services.Core.Domain;

using Cooking.Services.Specs.Support;

namespace Cooking.Services.Specs.Builders
{
    public class ProductBuilder : TestDataBuilder<Product>
    {
        /// <summary>
        /// Called to create an instance of <typeparamref name="TSubject"/>.
        /// </summary>
        /// <remarks>
        /// Do initialize the builder here. Use <see cref="OnPreBuild"/> instead.
        /// </remarks>
        protected override Product OnBuild()
        {
            return new Product(Guid.NewGuid().ToString(), Guid.NewGuid().ToString(), 1.59m);
        }
    }
}